CloseComponentResFile
This function closes the resource file that your component opened previously with the OpenComponentResFile function.
FUNCTION CloseComponentResFile (refnum: Integer): OSErr;
refnum
- The reference number that identifies the resource file to be closed. Your component obtains this value from the
OpenComponentResFile function.
DESCRIPTION
The CloseComponentResFile function closes the specified resource file. Your component must close any open resource files before returning to the calling application.
RESULT CODES
| noErr | 0 | No error |
| resFNotFound | -193 | Resource file not found |